package com.entity;

import java.io.Serializable;
import java.util.Set;

/**
 * @author Simon
 */
public class Department implements Serializable {

    private static final long serialVersionUID = 6729310936857656975L;
    private Integer id;
    private String name;
    private Set<Staff> staffSet;

    public Set<Staff> getStaffSet() {
        return staffSet;
    }

    public void setStaffSet(Set<Staff> staffSet) {
        this.staffSet = staffSet;
    }

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
